package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("cgnci_message_template")
@ApiModel(value = "CgnciMessageTemplateDO对象", description = "消息模板表")
public class CgnciMessageTemplateDO {

    @ApiModelProperty("模板ID")
    @TableId(value = "template_id", type = IdType.AUTO)
    private Long templateId;

    @ApiModelProperty("模板编码")
    private String templateCode;

    @ApiModelProperty("模板名称")
    private String templateName;

    @ApiModelProperty("模板类型(EMAIL-邮件 MESSAGE-站内信)")
    private String templateType;

    @ApiModelProperty("标题模板")
    private String titleTemplate;

    @ApiModelProperty("内容模板")
    private String contentTemplate;

    @ApiModelProperty("业务类型")
    private String businessType;

    @ApiModelProperty("提醒���数")
    private Integer remindDays;

    @ApiModelProperty("状态(ENABLE-启用 DISABLE-停用)")
    private String status;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;
} 